package cn.theten52.demo.patterns.design.behavior.mediation.update3;

import java.util.List;

/**
 * 中介者
 *
 * @author wangjin
 * @date 2021/4/3
 */
public interface Mediator<T> {
    void change(Colleague<T> colleague);

    void introduce(Colleague<T> provider, Colleague<T> consumer);

    void introduce(Colleague<T> provider, Colleague<T>... consumer);
}
